package top.zywork.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * ProcessVO值对象类<br/>
 *
 * 创建于2019-06-27<br/>
 *
 * @author http://zywork.top 王振宇
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
public class ProcessVO extends BaseVO {

    private static final long serialVersionUID = -9223372035303293780L;

    /**
	 * 流程编号
	 */
	private Long id;
	/**
	 * 流程Name
	 */
	@NotBlank(message = "此项是必须项")
	@Size(min = 1, max = 200, message = "必须是1-200个字符")
	private String processName;
	/**
	 * 流程Key
	 */
	@NotBlank(message = "此项是必须项")
	@Size(min = 1, max = 200, message = "必须是1-200个字符")
	private String processKey;
	/**
	 * 流程文件路径
	 */
	@Size(min = 0, max = 500, message = "必须小于500个字符")
	private String filePath;
	/**
	 * 流程描述
	 */
	@Size(min = 0, max = 500, message = "必须小于500个字符")
	private String description;
	/**
	 * 是否部署
	 */
	private Byte isDeploy;
	/**
	 * 部署时间
	 */
	private Date deployTime;
	/**
	 * 版本号
	 */
	private Integer version;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 是否激活
	 */
	private Byte isActive;
	
}
